package com.hoshiicloud.mallshop.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hoshiicloud.common.query.UploadFileResponse;
import com.hoshiicloud.goods.entity.spu.ExtSpu;
import com.hoshiicloud.market.entity.activities.dto.SlideshowDto;
import com.hoshiicloud.market.entity.activities.param.SlideshowQueryParam;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * linjx on 2019/8/29
 */
public interface StoreSlideshowService {

    /**
     * 文件上传
     */
    UploadFileResponse uploadFile(MultipartFile file);

    /**
     * 查询需要跳转的商品信息
     */
    List<ExtSpu> chooseExtSpus(String title, Long storeId);

    /**
     * 分页查询商品信息
     */
    Page<SlideshowDto> slidershowPage(SlideshowQueryParam param);
}
